package com.gitee.neuray.security.admin.executor.dingding.mapper;

import com.dingtalk.api.response.OapiSmartworkHrmEmployeeListdimissionResponse;
import com.gitee.neuray.security.admin.executor.dingding.entity.StaffVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: liln
 * @description:
 * @since: Create in 12:48 2020/3/4
 */
@Repository
@Mapper
public interface DingdingMapper {

  void staffInfoInsertDB(@Param("list") List<StaffVO> staffList);

  int checkUserOnly(@Param("userId") String userId);

  void updLzxx(
      @Param("list")
          List<OapiSmartworkHrmEmployeeListdimissionResponse.EmpDimissionInfoVo> lzryInfoList);
}
